﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Tools
{
    public partial class Md5 : Base
    {
        public Md5()
        {
            InitializeComponent();
            base.SetDefaultLocation();
        }

        private void txt_str_TextChanged(object sender, EventArgs e)
        {
            txt_md5.Text = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(txt_str.Text, "MD5"); 
        }
    }
}
